home *** CD-ROM | disk | FTP | other *** search
- Path: ionews.ionet.net!usenet
- From: tconiam@ionet.net (Todd Coniam)
- Newsgroups: comp.object,comp.software-eng,comp.lang.c++
- Subject: Re: Moving from C to C++
- Date: 15 Jan 1996 08:25:48 GMT
- Organization: IONet
- Message-ID: <4dd32c$lgv@ionews.ionet.net>
- References: <4cs44p$3pk@ixnews8.ix.netcom.com> <4cucgo$4c0@myst.plaza.ds.adp.com> <4cvv03$1nb@miranda.gmrc.gecm.com>
- NNTP-Posting-Host: osip106.ionet.net
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=ISO-8859-1
- X-Newsreader: WinVN 0.99.5
-
- In article <4cvv03$1nb@miranda.gmrc.gecm.com>, paul.johnson@gecm.com says...
- >
- >In article <4cucgo$4c0@myst.plaza.ds.adp.com>, timh@news says...
- >> One way to do this
- >>is to send your guys. . . not to C++ training, but to a Smalltalk class
- >>where they won't be tripped-up by what they already know about C, and where
- >>they are forced to work in a pure OO setting.
- >
- >I'd second this, except to recommend Eiffel over Smalltalk. Eiffel has
- >types for variables (like C++) whereas Smalltalk has types only for objects.
- >Eiffel also has a built-in language for defining the semantics of interfaces
- >as well as their syntax. This emphasises the behaviour and encapsulation
- >provided by your classes, and so promotes good design from the beginning.
- >
- >In fact, after programming in Eiffel for a while, you might prefer it to
- >C++. Either way, the design-level concepts in Eiffel are important to good
- >OO programming, and hence Eiffel is a good way to introduce structured coders
- >to OO thinking.
- >
- >BTW, don't assume that your training costs are proportional to the number of
- >languages: they are not. The main cost (as others have noted) is going to
- >be getting your programmers and designers thinking objects. Learning syntax
- >is easy in comparison. Anyway, both Eiffel and Smalltalk are MUCH simpler
- >than C++.
- >
- >Paul.
- >
- >--
- >Paul Johnson | GEC-Marconi Ltd is not responsible for my opinions.
- |
- >+44 1245 473331 ext
- 2245+-----------+-----------------------------------------+
- >Work: <paul.johnson@gmrc.gecm.com> | You are lost in a twisty maze of little
- >Home: <Paul@treetop.demon.co.uk> | standards, all different.
- >
-
- I would also suggest taking a look at Ada 95. While I won't say it is better
- then Eiffel or Smalltalk (I don't know them...) I can say it is better than
- C++ when it comes to long life code. If your moving to OO and thinking of
- changing languages (not that C -> C++ is a big change) to take advantage of
- the OO features, look at Ada 95. It has all the desireable features:
- inheritance, classes, templates, exceptions, tasking, etc., plus it is an
- international standard and highly portable!
-
- Check out http://lglwww.epfl.ch/Ada/Ammo/Cplpl2Ada.html for information on
- the transition from C/C++ to Ada 95.
-
- --
- Todd Coniam | Member: Team Ada
- tconiam@ionet.net | Ada 95 - The only world standard in OO languages.
- Check Ada out at: http://lglwww.efl.ch/Ada/
- Free compiler at: http://www.gnat.com/
-
-